from django.urls import include, path
from rest_framework import routers

from av_manager.views import PlatFormViewSet, ChannelSubscriptionViewSet, CarriedContentViewSet

router = routers.DefaultRouter()
router.register('plat_form', PlatFormViewSet, "plat_form")
router.register('sub_channel', ChannelSubscriptionViewSet, "sub_channel")
router.register('carried_content', CarriedContentViewSet, "carried_content")

urlpatterns = [
    path('', include(router.urls)),
]